package com.cracker.sso.event;

import com.cracker.sso.model.UserModel;
import lombok.Data;
import org.springframework.context.ApplicationEvent;

@Data
public class UserRegisterEvent extends ApplicationEvent {
    private UserModel userModel;

    public UserRegisterEvent(Object source, UserModel userModel) {
        super(source);
        setUserModel(userModel);
    }

}
